package com.etc.entity;

public class Users {
	private String name;
	private int age;

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
		System.out.println("Users ..setName");
	}

	@Override
	public String toString() {
		return "Users [name=" + name + ", age=" + age + "]";
	}

	public Users() {

		System.out.println("users无参构造");
	}

	public Users(String name, int age) {
		super();
		this.name = name;
		this.age = age;
		System.out.println("users带参构造");
	}

}
